const ossEntity = {
 	Bucket: "qcloud-sex",
 	EndPoint: "p6urwinfd.bkt.clouddn.com",
 	AK: "-Bnv6WI1wgOAMrFjknD2qQIJwhF763ufWnVIlwZW",
 	SK: "M0kgBDoAc_v24AQMnydEibxGGaXrOXhp_utJ1R3f",
 	Type: "qiniu",
 	Private: false,
 	urlPrefix: "http",
 }
 export function getUrl(baseUrl) {
 	var baseUrl = getPublicDownloadUrl(baseUrl, ossEntity.urlPrefix, ossEntity.EndPoint);
 	if (ossEntity.Private == true) {
 		baseUrl = getPrivateDownloadUrl(baseUrl, ossEntity.AK, ossEntity.SK);
 	}
 	return encodeURI(baseUrl);
 }

 function getPublicDownloadUrl(baseUrl, urlPrefix, domain) {
 	var result = urlPrefix + "://" + domain+ "/";
 	if (baseUrl !== undefined) {
		result = result  + baseUrl;
 	}
 	return result;
 }

 function getPrivateDownloadUrl(baseUrl, ak, sk) {

 }


 